All Packages Class Hierarchy This Package Previous Next Index
Class quicktime.std.music.InstSampleDesc
java.lang.Object
|
+----quicktime.util.QTByteObject
|
+----quicktime.std.music.InstSampleDesc
- public final class InstSampleDesc
- extends QTByteObject
Contains information about the mix state of a specified part.
-
kNativeSize
- This is the size of this class
-
InstSampleDesc()
- Makes a instance of this class.
-
getDataFormat()
- The data format type.
-
getLoopEnd()
- Indicates the end of the portion of the sample that is
looped if the sound is sustained.
-
getLoopStart()
- Indicates the beginning of the portion of the sample that is
looped if the sound is sustained.
-
getLoopType()
- The type of loop.
-
getNumChannels()
- The number of channels of data present in the sample.
-
getNumSamples()
- The number of data samples in the sound.
-
getOffset()
- Set to zero - this is the default.
-
getPitchHigh()
- The highest pitch at which to play the sample.
-
getPitchLow()
- The lowest pitch at which to play the sample.
-
getPitchNormal()
- The number of the MIDI note produced if the sample is played at the rate specified in sampleRate.
-
getSampleDataID()
- The ID number of a sample data atom that contains the sample audio data.
-
getSampleRate()
- The rate at which to play the sample.
-
getSampleRateRaw()
- The rate at which to play the sample in unsigned 16.16 format
-
getSampleSize()
- The size of the sample— 8-bit or 16-bit.
-
setDataFormat(int)
- The data format type.
-
setLoopEnd(int)
- Indicates the end of the portion of the sample that is
looped if the sound is sustained.
-
setLoopStart(int)
- Indicates the beginning of the portion of the sample that is
looped if the sound is sustained.
-
setLoopType(int)
- The type of loop.
-
setNumChannels(int)
- The number of channels of data present in the sample.
-
setNumSamples(int)
- The number of data samples in the sound.
-
setOffset(int)
- Set to zero - this is the default.
-
setPitchHigh(int)
- The highest pitch at which to play the sample.
-
setPitchLow(int)
- The lowest pitch at which to play the sample.
-
setPitchNormal(int)
- The number of the MIDI note produced if the sample is played at the rate specified in sampleRate.
-
setSampleDataID(int)
- The ID number of a sample data atom that contains the sample audio data.
-
setSampleRate(float)
- The rate at which to play the sample.
-
setSampleRateRaw(int)
- The rate at which to play the sample in unsigned 16.16 format
-
setSampleSize(int)
- The size of the sample— 8-bit or 16-bit.
-
toString()
- Returns a string representation of this object.
kNativeSize
public static final int kNativeSize
- This is the size of this class
InstSampleDesc
public InstSampleDesc()
- Makes a instance of this class.
getDataFormat
public int getDataFormat()
- The data format type. This is either 'twos', for signed data,
or 'raw ', for unsigned data.
setDataFormat
public void setDataFormat(int dataFormat)
- The data format type. This is either 'twos', for signed data,
or 'raw ', for unsigned data.
getNumChannels
public int getNumChannels()
- The number of channels of data present in the sample.
setNumChannels
public void setNumChannels(int numChannels)
- The number of channels of data present in the sample.
getSampleSize
public int getSampleSize()
- The size of the sample— 8-bit or 16-bit.
setSampleSize
public void setSampleSize(int sampleSize)
- The size of the sample— 8-bit or 16-bit.
getSampleRate
public float getSampleRate()
- The rate at which to play the sample.
setSampleRate
public void setSampleRate(float sampleRate)
- The rate at which to play the sample.
getSampleRateRaw
public int getSampleRateRaw()
- The rate at which to play the sample in unsigned 16.16 format
setSampleRateRaw
public void setSampleRateRaw(int sampleRate)
- The rate at which to play the sample in unsigned 16.16 format
getSampleDataID
public int getSampleDataID()
- The ID number of a sample data atom that contains the sample audio data.
setSampleDataID
public void setSampleDataID(int sampleDataID)
- The ID number of a sample data atom that contains the sample audio data.
getOffset
public int getOffset()
- Set to zero - this is the default.
setOffset
public void setOffset(int offset)
- Set to zero - this is the default.
getNumSamples
public int getNumSamples()
- The number of data samples in the sound.
setNumSamples
public void setNumSamples(int numSamples)
- The number of data samples in the sound.
getLoopType
public int getLoopType()
- The type of loop.
setLoopType
public void setLoopType(int loopType)
- The type of loop.
getLoopStart
public int getLoopStart()
- Indicates the beginning of the portion of the sample that is
looped if the sound is sustained. The position is given in
the number of data samples from the start of the sound.
setLoopStart
public void setLoopStart(int loopStart)
- Indicates the beginning of the portion of the sample that is
looped if the sound is sustained. The position is given in
the number of data samples from the start of the sound.
getLoopEnd
public int getLoopEnd()
- Indicates the end of the portion of the sample that is
looped if the sound is sustained. The position is given in
the number of data samples from the start of the sound.
setLoopEnd
public void setLoopEnd(int loopEnd)
- Indicates the end of the portion of the sample that is
looped if the sound is sustained. The position is given in
the number of data samples from the start of the sound.
getPitchNormal
public int getPitchNormal()
- The number of the MIDI note produced if the sample is played at the rate specified in sampleRate.
setPitchNormal
public void setPitchNormal(int pitchNormal)
- The number of the MIDI note produced if the sample is played at the rate specified in sampleRate.
getPitchLow
public int getPitchLow()
- The lowest pitch at which to play the sample. Use for
instruments, such as pianos, that have different samples to
use for different pitch ranges.
setPitchLow
public void setPitchLow(int pitchLow)
- The lowest pitch at which to play the sample. Use for
instruments, such as pianos, that have different samples to
use for different pitch ranges.
getPitchHigh
public int getPitchHigh()
- The highest pitch at which to play the sample. Use for
instruments, such as pianos, that have different samples to
use for different pitch ranges.
setPitchHigh
public void setPitchHigh(int pitchHigh)
- The highest pitch at which to play the sample. Use for
instruments, such as pianos, that have different samples to
use for different pitch ranges.
toString
public String toString()
- Returns a string representation of this object.
- Returns:
- a String
- Overrides:
- toString in class QTByteObject
All Packages Class Hierarchy This Package Previous Next Index